@charset "utf-8";

/* ================================ */
/* 触屏版首页相关样式类型				*/
/* by www.yunku.live                   */
/* ================================ */

body { background-color: #F9F9F9;}

.sctouch-home-top {position: absolute;  z-index: 2;}
.sctouch-home-top {
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    display: block; min-height: 2.5rem;
    z-index: 2;
}
#header {
    position: relative;
    padding: 0.3em 0;
    z-index: 2 !important;
    top: 0;
    bottom: auto;
    left: 0;
    right: 0;
    height: 2.5rem;
    box-sizing: border-box;
    background: transparent;
}
.header-bg{
    display: block;
    height: 8rem;
    position: absolute;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: -1;
}
#header .shortcut { position: absolute; z-index:1; top: 0.3rem; width: 2.5rem; height: 1.4rem; line-height: 2rem; text-align: center; }
#header .shortcut .iconfont { font-size: 1.2rem; color: #FFFFFF; }
#header .shortcut span { font-size: 0.45rem; color: #FFFFFF; line-height: 0.5rem; display: block; }
#header .shortcut.msg { left: 0; }
#header .shortcut.cart { right: 2rem; }
#header .shortcut.category { right: 0; }
#header .logo img{width:100%;vertical-align: middle}
#header .header-inp {
    height: 1.7rem;
    margin: 0.1rem 2.5rem 0rem 2.5rem;
    background-color: #fff;
    border: none;
    border-radius: 1rem;
    box-sizing: border-box;
    padding: 0.1rem 0.3rem;
}
#header .header-r{top:0.2rem;}
#header .header-r a { width: 2rem; height: 1.4rem;text-align: center;padding:0}
#header .header-r a i.message {height: 1.4rem;line-height: 1.4rem; margin: 0 auto;}
#header .header-r a i.message:before { content: "\e649"; } 
#header .header-r a p { font-size: 0.55rem; line-height: 0.9rem; text-align: center; color: #333; display: none;}
#header .header-r a sup { display: none; width: 0.25rem; height: 0.25rem; right: 0.5rem; top:.25rem;border-color: #FF3323}
.item-pic-l1-r2 li {
    width: 50%;
    float: left;
    margin-bottom: 0.2rem;
}
.item-pic-l1-r2 li:nth-child(2n+1) {
    padding-right: 0.1rem;
}
.item-pic-l1-r2 li:nth-child(2n) {
    padding-left: 0.1rem;
}

.adv_list {
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}
.adv_list .swipe-nav{position: absolute;bottom: 0;height: .8rem;line-height: .8rem;text-align: center;width: 100%;padding-bottom: .25rem;}
.adv_list .swipe-nav em{display: inline-block;width:.3rem;height: .3rem;background: #fff;opacity: .2;margin:.1rem;border-radius: 50%;}
.adv_list .swipe-nav em.active{opacity: 1}
.swipe { position: relative; overflow: hidden; visibility: hidden; }
.swipe-wrap { overflow: hidden; position: relative; }
.swipe-wrap > div { float: left; width: 100%; position: relative; }
.swipe-wrap img { width: 100%;}

.sctouch-home-nav { position: relative; z-index: 0;  }
.sctouch-home-nav ul { font-size: 0; overflow: hidden;}
.sctouch-home-nav li { float: left; width: 20%; height: 4rem; padding: 0.5rem 0 0.3rem 0;}
.sctouch-home-nav li div { display: block; text-align: center;}
.sctouch-home-nav li img {
    display: inline-block;
    width: 2.3rem;
    height: 2.3rem;
    margin: 0 auto 0.2rem auto;
    border-radius: 1.2rem;
}
.sctouch-home-nav li p { display: block; font-size: 0.5rem; line-height: 0.9rem; color: #999;}


.sctouch-home-layout { display: block; max-width: 640px; margin: 0 auto; overflow: hidden; position: relative; z-index: 0; }
.sctouch-home-block { width: 100%; clear: both;background: #fff;margin-bottom: 3rem; }
.sctouch-home-block .tit-bar {
    font-size: 0.8rem;
    color: #eb3124;
    padding: .4rem 3% .4rem;
    text-align: left;
    font-weight: 700;
}
.sctouch-home-block .content { display: block;}
.sctouch-home-block .more{font-size: .6rem;text-align: center;color:#4a4a4a;line-height: 1.6rem;padding-bottom: .2rem}
.sctouch-home-block .more a{color:#4a4a4a;}
.sctouch-home-block .more .iconfont{font-size: .6rem}
/*图片组左一右二*/
.item-pic-l1-r2 {
    background-color: #FFF;
    width: 94%;
    margin: 0 auto 10px;
    position: relative;
    z-index: 1;
}
.item-pic-l1-r2 li span,
.item-pic-l1-r2 li img { display: block; width: 100%;}

/*图片组左二右一*/
.item-pic-l2-r1 { background-color: #FFF; width: 100%; margin: 0 auto; position: relative; z-index: 1; border-bottom: solid 0.05rem #EEE;}
.item-pic-l2-r1 li a,
.item-pic-l2-r1 li img { display: block; width: 100%;}
.item-pic-l2-r1 li:nth-child(3) { position: absolute; z-index: 1; right: 0; top: 0; bottom: 0; left: 50%; margin-right: 0.05rem; border-left: solid 0.05rem #EEE;}
.item-pic-l2-r1 li:nth-child(1) { margin-right: 50%;}
.item-pic-l2-r1 li:nth-child(2) { margin-right: 50%; border-top: solid 0.05rem #EEE;}


/*图片组*/
.item-pic-list { font-size: 0; width: 100%; margin: 0 auto; overflow: hidden;}
.item-pic-list li { width: 50%; float: left; border-bottom: solid #EEE 0.05rem;}
.item-pic-list li:nth-child(even) { border-left: solid #EEE 0.05rem; margin-right: -0.05rem;}
.item-pic-list li img { width: 100%;}


.item-pic { font-size: 0; width: 100%; margin: 0 auto;}
.item-pic img { width: 100%;}



.ath-viewport * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.ath-viewport { position: relative; z-index: 2147483641; pointer-events: none; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-text-size-adjust: none; -moz-text-size-adjust: none; -ms-text-size-adjust: none; -o-text-size-adjust: none; text-size-adjust: none; }
.ath-modal { pointer-events: auto !important; background: rgba(0,0,0,0.6); }
.ath-mandatory { background: #000; }
.ath-container { pointer-events: auto !important; position: absolute; z-index: 2147483641; padding: 0.7em 0.6em; width: 18em; background: #eee; background-size: 100% auto; box-shadow: 0 0.2em 0 #d1d1d1; font-family: sans-serif; font-size: 15px; line-height: 1.5em; text-align: center; }
.ath-container small { font-size: 0.8em; line-height: 1.3em; display: block; margin-top: 0.5em; }
.ath-ios.ath-phone { bottom: 1.8em; left: 50%; margin-left: -9em; }
.ath-ios6.ath-tablet { left: 5em; top: 1.8em; }
.ath-ios7.ath-tablet { left: 0.7em; top: 1.8em; }
.ath-ios8.ath-tablet { right: 0.4em; top: 1.8em; }
.ath-android { bottom: 1.8em; left: 50%; margin-left: -9em; }
/* close icon */
.ath-container:before { content: ''; position: relative; display: block; float: right; margin: -0.7em -0.6em 0 0.5em; background-image: url(); background-color: rgba(255,255,255,0.8); background-size: 50%; background-repeat: no-repeat; background-position: 50%; width: 2.7em; height: 2.7em; text-align: center; overflow: hidden; color: #a33; z-index: 2147483642; }
.ath-container.ath-icon:before { position: absolute; top: 0; right: 0; margin: 0; float: none; }
.ath-mandatory .ath-container:before { display: none; }
.ath-container.ath-android:before { float: left; margin: -0.7em 0.5em 0 -0.6em; }
.ath-container.ath-android.ath-icon:before { position: absolute; right: auto; left: 0; margin: 0; float: none; }
/* applied only if the application icon is shown */
.ath-container.ath-icon { }
.ath-action-icon { display: inline-block; vertical-align: middle; background-position: 50%; background-repeat: no-repeat; text-indent: -9999em; overflow: hidden; }
.ath-ios7 .ath-action-icon, .ath-ios8 .ath-action-icon { width: 1.6em; height: 1.6em; background-image: url(); margin-top: -0.3em; background-size: auto 100%; }
.ath-ios6 .ath-action-icon { width: 1.8em; height: 1.8em; background-image: url(); margin-bottom: 0.4em; background-size: 100% auto; }
.ath-android .ath-action-icon { width: 1.4em; height: 1.5em; background-image: url(); background-size: 100% auto; }
.ath-container p { margin: 0; padding: 0; position: relative; z-index: 2147483642; text-shadow: 0 0.1em 0 #fff; font-size: 1.1em; }
.ath-ios.ath-phone:after { content: ''; background: #eee; position: absolute; width: 2em; height: 2em; bottom: -0.9em; left: 50%; margin-left: -1em; -webkit-transform: scaleX(0.9) rotate(45deg); transform: scaleX(0.9) rotate(45deg); box-shadow: 0.2em 0.2em 0 #d1d1d1; }
.ath-ios.ath-tablet:after { content: ''; background: #eee; position: absolute; width: 2em; height: 2em; top: -0.9em; left: 50%; margin-left: -1em; -webkit-transform: scaleX(0.9) rotate(45deg); transform: scaleX(0.9) rotate(45deg); z-index: 2147483641; }
.ath-application-icon { position: relative; padding: 0; border: 0; margin: 0 auto 0.2em auto; height: 6em; width: 6em; z-index: 2147483642; }
.ath-container.ath-ios .ath-application-icon { border-radius: 1em; box-shadow: 0 0.2em 0.4em rgba(0,0,0,0.3),  inset 0 0.07em 0 rgba(255,255,255,0.5); margin: 0 auto 0.4em auto; }

@media only screen and (orientation: landscape) {
.ath-container.ath-phone { width: 24em; }
.ath-android.ath-phone { margin-left: -12em; }
.ath-ios.ath-phone { margin-left: -12em; }
.ath-ios6:after { left: 39%; }
.ath-ios8.ath-phone { left: auto; bottom: auto; right: 0.4em; top: 1.8em; }
.ath-ios8.ath-phone:after { bottom: auto; top: -0.9em; left: 68%; z-index: 2147483641; box-shadow: none; }
}

/*分类*/
.home-category {position: relative;}
.home-category .linear {width: 1rem;height: 1.6rem;background-image: linear-gradient(90deg,hsla(0,0%,100%,0) 0,#f2f2f2);position: absolute;top: 0;right: 2rem;z-index: 1;}
.home-category .toggle-wrap {height: 1.6rem;}
.home-category .category-nav {overflow: hidden;position: absolute;top: 0;left: 0;right: 2rem;white-space: nowrap;overflow-x: auto;}
.home-category .category-nav .category-item {display: inline-block;margin-left: 1rem;font-size: .6rem;border-bottom: .1rem solid transparent;line-height: 1.5rem;color:#666;}
.home-category .category-nav .category-item.active {color: #FF3323;border-color: #FF3323;}
.home-category .toggle-wrap .toggle{float: right;text-align: center;width: 2rem;height: 1.5rem;line-height: 1.5rem;transition: transform .5s;font-size: .6rem;color:#666}
.home-category .toggle-wrap .toggle.active{transform: rotate(180deg);}
.home-category .category-nav.active {position: relative;padding: 0 2%;white-space: normal;background: #f2f2f2}
.home-category .category-nav.active .category-item {border-radius: 3px;border: .05rem solid #e0e0e0;background: #fafafa;width: 21%;line-height: 1.2rem;margin: .5rem 2%;margin-top: 0;text-align: center;box-sizing: border-box;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;display: block;float: left;}
.home-category .category-nav.active .category-item.active {border-color: #FF3323;}


/*限时购*/
.pxianshi{margin-bottom: 10px;}
.pxianshi .title{text-align: center;font-size:.8rem;color:#4D4D4D;line-height: .8rem;padding:0 0 .5rem}
.pxianshi .title .icon{width:1rem;display: inline-block;color:#FF3323}
.pxianshi .content{white-space: nowrap;overflow-x:auto;margin-right:.2rem;font-size:0 }
.pxianshi .content .item{display: inline-block;width:3.6rem;font-size: .5rem;text-align: center;margin-left: .2rem;vertical-align: top}
.pxianshi .content .item .back{background:#fff;width:3.5rem;border-radius: .3rem;margin:0 auto;padding:.2rem .3rem;box-sizing: border-box}
.pxianshi .content .item .back .goods_name{white-space: nowrap;overflow: hidden;text-overflow:ellipsis;color:#999}
.pxianshi .content .item .back img{width:100%;}
.pxianshi .content .item .price_info{white-space: nowrap;overflow: hidden;text-overflow:ellipsis;margin-top: .2rem;font-size: .5rem}
.pxianshi .content .item .price_info .now_price{color:#FF3323}
.pxianshi .content .item .price_info del{color:#999}

/*时间轴*/
.time-group {
    font-size: 0.8rem;
    position: relative;
    display: block;
    align-items: center;
    white-space: nowrap;
    overflow: auto;
}
.time-group .time-group-item {
    width: 2.6rem;
    text-align: center;
    line-height: 1rem;
    font-family: Impact;
    white-space: nowrap;
    display: inline-block;
    color: #333333;
}
.time-group .time-group-item.time-active {
    color: #ec3a2c;
}
.time-group .time-group-item .time-group-state {
    font-size: 0.43rem;
    color: #999999;
}
.time-group .time-group-item.time-active .time-group-state {
    display: block;
    min-width: 2rem;
    margin: 0 auto;
    background: #ec3a2c;
    color: #FFFFFF;
    border-radius: 1rem;
    margin-top: 0.2rem;
    line-height: 0.6rem;
    height: 0.6rem;
}

.time-group .time-period-container {
    display: block;
    width: max-content;
    overflow: auto;
    font-size: 0.7rem;
}
/* 时间轴激活样式 */
.time-active{
    font-size: 0.8rem;
    color: #FF3323;
}